package com.lavastudios.adhawkgrids;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

public class StartingPoint extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.starting_point_layout);
		
		Button networkButton = (Button) findViewById(R.id.networkButton);
		Button helpButton = (Button) findViewById(R.id.helpButton);
		
        networkButton.setOnClickListener(new View.OnClickListener(){
			public void onClick(View v) {
			  Intent i = new Intent("com.lavastudios.adhawkgrids.MYWIFIACTIVITY");
			  startActivity(i);
			}
        });
        
        helpButton.setOnClickListener(new View.OnClickListener(){
			public void onClick(View v) {
			  Intent i = new Intent("com.lavastudios.adhawkgrids.HELPACTIVITY");
			  startActivity(i);
			}
        });
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.starting_point, menu);
		return true;
	}
	
	

}
